/**
 * Created by jianglinjie on Thu Sep 21 2017
 * 
 */
'use strict';

Object.defineProperty(exports, "__esModule", {
  value: true
});
var COMMON_ERROR = exports.COMMON_ERROR = 'COMMON_ERROR';
var TOKEN_EXPIRE = exports.TOKEN_EXPIRE = 'TOKEN_EXPIRE'; //token过期
var TOKEN_INVALID = exports.TOKEN_INVALID = 'TOKEN_INVALID'; //token非法
var REQUIRE_TOKEN = exports.REQUIRE_TOKEN = 'REQUIRE_TOKEN'; //缺少token
var REQUIRE_AUTHORIZATION_HEADER = exports.REQUIRE_AUTHORIZATION_HEADER = 'REQUIRE_AUTHORIZATION_HEADER'; //缺少Token
var UNSUPPORT_REGISTER_TYPE = exports.UNSUPPORT_REGISTER_TYPE = 'UNSUPPORT_REGISTER_TYPE'; //不支持的注册类型
var REQUIRE_USERNAME = exports.REQUIRE_USERNAME = 'REQUIRE_USERNAME'; //缺少用户名
var REQUIRE_PWD = exports.REQUIRE_PWD = 'REQUIRE_PWD'; //缺少密码
var PWD_ERROR = exports.PWD_ERROR = 'PWD_ERROR'; //密码错误
var USER_HAS_REGISTER = exports.USER_HAS_REGISTER = 'USER_HAS_REGISTER'; //用户已注册
var UNSUPPORT_LOGIN_TYPE = exports.UNSUPPORT_LOGIN_TYPE = 'UNSUPPORT_LOGIN_TYPE'; //不支持的登录类型
var USER_NOT_EXIST = exports.USER_NOT_EXIST = 'USER_NOT_EXIST'; //用户不存在
var PHONE_INVALID = exports.PHONE_INVALID = 'PHONE_INVALID'; //手机不合法
var CAPTCHA_BUSINESS_INVALID = exports.CAPTCHA_BUSINESS_INVALID = 'CAPTCHA_BUSINESS_INVALID'; //验证码业务类型非法
var PHONE_HAS_REGISTER = exports.PHONE_HAS_REGISTER = 'PHONE_HAS_REGISTER'; //手机已注册
var CAPTCHA_INVALID = exports.CAPTCHA_INVALID = 'CAPTCHA_INVALID'; //验证码非法
var REQUIRE_CAPTCHA = exports.REQUIRE_CAPTCHA = 'REQUIRE_USERNAME'; //缺少验证码
var PHONE_NOT_EXIST = exports.PHONE_NOT_EXIST = 'PHONE_NOT_EXIST'; //手机号不存在
var USER_ALREADY_LOGOUT = exports.USER_ALREADY_LOGOUT = 'USER_ALREADY_LOGOUT'; //用户已注销
var PASSWORD_INVALID = exports.PASSWORD_INVALID = 'PASSWORD_INVALID'; //密码非法
var REQUIRE_UID = exports.REQUIRE_UID = 'REQUIRE_UID'; //缺少用户标识
var PASSWORD_NOT_CHANGE = exports.PASSWORD_NOT_CHANGE = 'PASSWORD_NOT_CHANGE'; //密码相同
var ACCESS_DENY = exports.ACCESS_DENY = 'ACCESS_DENY'; //拒绝访问
var PHONE_HAS_BIND = exports.PHONE_HAS_BIND = 'PHONE_HAS_BIND'; //手机绑定
var PHONE_BIND_FAIL = exports.PHONE_BIND_FAIL = 'PHONE_BIND_FAIL'; //手机绑定失败
var USER_AVATAR_INVALID = exports.USER_AVATAR_INVALID = 'USER_AVATAR_INVALID'; //头像非法
var USER_GENDER_INVALID = exports.USER_GENDER_INVALID = 'USER_GENDER_INVALID'; //性别非法
var USER_NICKNAME_INVALID = exports.USER_NICKNAME_INVALID = 'USER_NICKNAME_INVALID'; //昵称非法
var USER_NAME_INVALID = exports.USER_NAME_INVALID = 'USER_NAME_INVALID'; //用户名非法
var REQUIRE_PARAMETER = exports.REQUIRE_PARAMETER = 'REQUIRE_PARAMETER'; //缺少参数
var PHONE_NOT_UPDATE = exports.PHONE_NOT_UPDATE = 'PHONE_NOT_UPDATE'; //手机号未改变
var REQUIRE_PHONE = exports.REQUIRE_PHONE = 'REQUIRE_PHONE'; //缺少手机号
var REQUIRE_ACCOUNT = exports.REQUIRE_ACCOUNT = 'REQUIRE_ACCOUNT'; //缺少账户名
var REQUIRE_PATH = exports.REQUIRE_PATH = 'REQUIRE_PATH'; //缺少路径
var REQUIRE_MIME_TYPE = exports.REQUIRE_MIME_TYPE = 'REQUIRE_MIME_TYPE'; //缺少类型
var UPLOAD_FAIL = exports.UPLOAD_FAIL = 'UPLOAD_FAIL'; //上传失败
var REQUIRE_FID = exports.REQUIRE_FID = 'REQUIRE_FID'; //缺少文件id
var FILE_NOT_FOUNT = exports.FILE_NOT_FOUNT = 'FILE_NOT_FOUNT'; //文件不存在
var FILE_URI_NOT_SUPPORT = exports.FILE_URI_NOT_SUPPORT = 'FILE_URI_NOT_SUPPORT'; //文件URI不支持
var REQUIRE_FILE_URI = exports.REQUIRE_FILE_URI = 'REQUIRE_FILE_URI'; //缺少文件URI
var RES_BODY_INVALID = exports.RES_BODY_INVALID = 'RES_BODY_INVALID'; //服务端响应的格式不合法